extensions/u16; add ~ model/format support
authorØyvind Kolås <pippin@gimp.org>
Wed, 11 Jul 2018 23:24:26 +0000 (01:24 +0200)
committerØyvind Kolås <pippin@gimp.org>
Wed, 11 Jul 2018 23:24:26 +0000 (01:24 +0200)
extensions/u16.c

index b5d772fd9e101fdfc228b218b3142d07ea8b65ba..4cd37f70ef32a8caf8ed19a2c0102922c00bbe00 100644 (file)
@@ -75,6 +75,13 @@ init (void)
     conv_rgbu16_rgbau16,
     NULL);
 
+  babl_conversion_new (
+    babl_format ("R~G~B~ u16"),
+    babl_format ("R~G~B~A u16"),
+    "linear",
+    conv_rgbu16_rgbau16,
+    NULL);
+
   babl_conversion_new (
     babl_format ("Y' u16"),
     babl_format ("Y'A u16"),
@@ -82,6 +89,13 @@ init (void)
     conv_yu16_yau16,
     NULL);
 
+  babl_conversion_new (
+    babl_format ("Y~ u16"),
+    babl_format ("Y~A u16"),
+    "linear",
+    conv_yu16_yau16,
+    NULL);
+
   babl_conversion_new (
     babl_format ("RGB u16"),
     babl_format ("RGBA u16"),